home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4740 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: hermes.louisville.edu!starbase!gclind01
  2. From: gclind01@starbase.spd.louisville.edu (George C. Lindauer)
  3. Newsgroups: comp.os.msdos.programmer,comp.lang.c
  4. Subject: Re: open vs fopen?
  5. Date: 6 Feb 1996 19:50:55 GMT
  6. Organization: University of Louisville, Louisville KY USA
  7. Message-ID: <4f8bev$6tr@hermes.louisville.edu>
  8. References: <uEYFxc9nX8WX083yn@mbnet.mb.ca>
  9. NNTP-Posting-Host: starbase.spd.louisville.edu
  10. X-Newsreader: NN version 6.5.0 CURRENT #16
  11.  
  12. natewild@mbnet.mb.ca (Nathan T. Wild) writes:
  13.  
  14. >In C, why would one use open and DOS int handles rather than fopen and
  15. >stdio file handles?
  16.  
  17. The only reason I know of is UNIX portability.  Whenever I run across a
  18. unix program that uses the old-style open instead of fopen I usually
  19. end up rewriting it anyway though; I've had so many problems with
  20. the unix-style stuff I just rather would deal with the ANSI style.
  21.  
  22. David
  23. >Is there some speed advantage or differnet functionality?
  24.  
  25. >     
  26.  
  27. >|--------------------------------------------------------------------|
  28. >| ooooO (``)   (``) Ooooo | Nathan T. Wild                           | 
  29. >| (   ) )  (   )  ( (   ) | natewild@mbnet.mb.ca                     |
  30. >| )  (  (   ) (   ) )  (  | ftp://ftp.mbnet.mb.ca/pub/natewild       |
  31. >| (__)  ooooO Ooooo (__)  | http://www.mbnet.mb.ca/~natewild         |
  32. >|--------------------------------------------------------------------|
  33.